{{ render(controller('AppBundle:Activity/Homework:preview', {task: {courseId: activity.fromCourseId, activityId: activity.id}})) }}